#ifndef __SPRINGCONSTRAINT_H
#define __SPRINGCONSTRAINT_H

#include "constraint.h"

class SpringConstraint : public Constraint
{
	public:
		SpringConstraint(Sprite *a, Sprite *b) : Constraint(a,b) {}
		virtual ~SpringConstraint() {}
		virtual void SolveVelocityConstraint();
		virtual void SolvePositionConstraint();
	private:
		SpringConstraint(const SpringConstraint&);
		SpringConstraint &operator=(const SpringConstraint&);
};

#endif // !__SPRINGCONSTRAINT_H
